package com.zkthink.ceres.applet.notice.domain.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**

@Author cmz
@Date 2024-05-12 11:29
*/
@Data
@TableName(value = "applet_notice")
public class AppletNotice {
    /**
     * 通知表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    @TableField(value = "mid")
    private Long mid;

    /**
     * 通知标题
     */
    @TableField(value = "notice_title")
    private String noticeTitle;

    /**
     * 通知内容
     */
    @TableField(value = "notice_content")
    private String noticeContent;

    /**
     * 创建人
     */
    @TableField(value = "create_user")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 最后修改人
     */
    @TableField(value = "update_user")
    private String updateUser;

    /**
     * 最后修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 逻辑删除 1-删除 0-未删除
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    /**
     * 公告类型  1=全平台通知,2=车辆公告,3=门店通知,4=个人通知
     */
    @TableField(value = "notice_type")
    private Integer noticeType;

    public static final String COL_ID = "id";

    public static final String COL_MID = "mid";

    public static final String COL_NOTICE_TITLE = "notice_title";

    public static final String COL_NOTICE_CONTENT = "notice_content";

    public static final String COL_CREATE_USER = "create_user";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_USER = "update_user";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_IS_DELETE = "is_delete";

    public static final String COL_NOTICE_TYPE = "notice_type";
}